package com.lingyuan.auth.fegin;

import com.lingyuan.common.core.domain.R;
import com.lingyuan.common.core.domain.vo.ums.MemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("lingyuan-ums")
public interface UmsRemoteService {

    /* *
     * @Title: findByUserName
     * @Author: DELL
     * @Date: 2024-09-23 14:24:57
     * @Params: [username]
     * @Return: R<MemberVo>
     * @Description: 用户名查询用户信息
     */
    @GetMapping("member/findByUserName/{username}")
    public R<MemberVo> findByUserName(@PathVariable("username") String username);
}
